package org.tuoren.official.domain.vo;

import org.tuoren.official.domain.TInnovationWardDetail;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.tuoren.common.excel.annotation.ExcelDictFormat;
import org.tuoren.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 科技创新详情视图对象 t_innovation_ward_detail
 *
 * @author Lion Li
 * @date 2024-11-26
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TInnovationWardDetail.class)
public class TInnovationWardDetailVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 年份
     */
    @ExcelProperty(value = "年份")
    private String year;

    /**
     * 标题
     */
    @ExcelProperty(value = "标题")
    private String title;

    /**
     * 资源url
     */
    @ExcelProperty(value = "资源url")
    private String wardUrl;

    /**
     * 是否发布（0：否；1：是）
     */
    @ExcelProperty(value = "是否发布", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=：否；1：是")
    private String isPublish;
}
